#ifndef STATE_MENU_H
#define STATE_MENU_H

#include "State.h"
#include "TwoPlayer.h"
#include "ThreePlayer.h"
#include "FourPlayer.h"
#include "enums.h"

class BallSmackers;

class State_Menu:public State
{
private:
	char choice;
	static State_Menu* init;
	IDirect3DTexture9* mBkgdTex;
	D3DXVECTOR3 mBkgdCenter;

		//camera stuffs and others
	float mCameraRotationY;
	float mCameraRadius;
	float mCameraHeight;

	D3DXMATRIX mView;
	D3DXMATRIX mProj;

	//camera and matrix build functions
	void buildViewMtx();
	void buildProjMtx();
	void setupCamera();

public:
	State_Menu();
	void Enter();
	void Execute(D3DApp* g);
	void Exit();
	void Draw();
	static State_Menu* Instance();
	char getChoice()const { return choice;}
};

#endif
